{namespace n=GeorgRinger\News\ViewHelpers}

<div class="mediaelement">
	<div class="mediaelement-video">
		<n:mediaFactory classes="{settings.interfaces.media.video}" element="{mediaElement}" width="{settings.detail.media.video.width}"
			height="{settings.detail.media.video.height}" />
	</div>


	<f:if condition="{mediaElement.caption}">
		<div class="medialement-alternative-content">
			<p class="news-img-caption">
				{mediaElement.caption}
			</p>
		</div>
	</f:if>
</div>
